package com.ytkj.digitalConstruction.dao.constructionprocess;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.ytkj.digitalConstruction.entity.constructionprocess.ConstructionSucceed;
import com.ytkj.digitalConstruction.httpbean.constructionprocess.reqbean.HistoryQueryBean;

/**
 * 不停航施工Mapper
 * @author iking
 *
 */
@Mapper
public interface ConstructionSucceedMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ConstructionSucceed record);

    int insertSelective(ConstructionSucceed record);

    ConstructionSucceed selectByPrimaryKey(Integer id);
    
    ConstructionSucceed selectByFlowId(Integer flowId);

    int updateByPrimaryKeySelective(ConstructionSucceed record);

    int updateByPrimaryKey(ConstructionSucceed record);
    
    ConstructionSucceed showToday(Integer projectId);
    
    List<ConstructionSucceed> showHistory(HistoryQueryBean historyQueryBean);
}